<%@page contentType="text/xml;charset=GBK" language="java"%>
<%@page import="com.tansuosoft.discoverx.common.*"%>
<%@page import="com.tansuosoft.discoverx.util.serialization.*"%>
<%@page import="java.io.*"%>
<%
com.tansuosoft.discoverx.web.JSPContext jspContext=new com.tansuosoft.discoverx.web.JSPContext(pageContext);
jspContext.setNoCache();
Config configObj=com.tansuosoft.discoverx.dao.DAOConfig.getInstance();
Serializer ser = new XmlSerializer();
StringWriter writer = new StringWriter();
ser.serialize(configObj, writer);
out.clear();
out.write("<?xml version=\"1.0\" encoding=\"gbk\"?>\r\n");
out.write("<config type=\"");
out.write(configObj.getClass().getName());
out.write("\">\r\n");
out.write(writer.toString());
out.write("</config>");
out.flush();
%>